Vehicular imaging system

ABSTRACT

A vehicular imaging system comprises a single imaging sensor having a plurality of photosensor elements. The imaging sensor captures image data of a scene exterior of the vehicle within its field of view. Image data captured by the imaging sensor is provided to a control. The control also receives via a communication bus at least one of vehicle pitch information, vehicle yaw information and vehicle steering information. The control detects two substantially straight and converging road features along the road the vehicle is travelling and determines a point of intersection where they would converge using, at least in part, the received vehicle information and the control automatically corrects for misalignment of the imaging sensor mounted at the vehicle.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 13/204,791, filed Aug. 8, 2011, which is a continuation of U.S. patent application Ser. No. 12/190,698, filed Aug. 13, 2008, now U.S. Pat. No. 8,017,898, which claims the benefit of U.S. provisional application Ser. No. 60/956,633, filed Aug. 17, 2007, which are incorporated herein by reference for all purposes.

FIELD OF THE INVENTION

The present invention relates to automatic headlamp control systems for vehicles and, more particularly, to automatic headlamp control systems that automatically adjust the high and low beam states of a vehicle headlamp.

BACKGROUND OF THE INVENTION

Automotive forward lighting systems are evolving in several areas including the use of image-based sensors, typically referred to as Automatic High Beam (AHB) control systems, to maximize the use of high beam road illumination when appropriate, the use of steerable beam systems, typically referred to as Adaptive Front Lighting (AFL) systems, to provide a greater range of beam pattern options particularly for driving on curved roads or during turn maneuvers wherein the beam pattern may be biased or supplemented in the direction of the curve or turn, and the combination of such AHB and AFL systems.

Automatic high beam control system are known that utilize an optical system, an image sensor, and signal processing including spectral, spatial and temporal techniques to determine ambient lighting conditions, the road environment, and the presence of other road users in order to automatically control the selection of the appropriate forward lighting state such that user forward vision is optimized while minimizing the impact of headlamp caused glare on other road users in all lighting conditions. Examples of such systems are described in U.S. Pat. Nos. 5,796,094; 6,097,023; 6,320,176; 6,559,435; 6,831,261; 6,396,397; 6,822,563; and 7,004,606, which are hereby incorporated herein by reference in their entireties.

While AHB systems that utilize the features and concepts described within the above identified U.S. patents have achieved performance levels that have resulted in considerable commercial success, it is desired to provide additional features and techniques, which may increase the utility, improve the performance, facilitate the manufacture, and simplify the installation of such systems.

SUMMARY OF THE INVENTION

The present invention provides an automatic headlamp control system that is operable to automatically control or adjust the high beam state of a vehicle's headlamps. The headlamp control system is operable to determine a focus of expansion pixel or pixels in the captured image and adjust the image processing in response to the location or pixel/pixels of the focus of expansion and the tracking of movement of detected light sources and other objects as the vehicle travels along the road. The headlamp control system of the present invention may provide reduced processing of image data to provide a low cost system.

According to an aspect of the present invention, a vehicular imaging system comprises a photosensor array comprising a plurality of photosensor elements and a control responsive to an output of the photosensor array. The photosensor array has a field of view forward of the vehicle that is generally in line with the vehicle's primary direction of forward travel. The photosensor array captures images of an area encompassed by the forward field of view. The control processes an image data set indicative of captured images. The control processes a reduced image data set of the image data set to determine whether an object of interest is within a target zone of the captured images. The reduced image data set is representative of a portion of the captured images as captured by a particular grouping of the photosensor elements. Responsive to a determination of a change in a focus of expansion of the captured images, the control adjusts the reduced image data set so as to be representative of a portion of the captured images as captured by a different particular grouping of the photosensor elements.

The control may be operable to adjust a state of a headlamp beam in response to the image processing. The focus of expansion comprises at least one photosensor element that initially detects a new light source in the field of view. The control may track the new light source as it expands in the captured images (such as while the relative distance between the controlled vehicle and the new light source decreases) to confirm that the new light source is indicative of an object of interest. The control may determine that the new light source is representative of a light source of a leading or approaching vehicle and the controlled vehicle and approaching vehicle are traveling along a substantially flat and substantially straight road, and the control may compare a location of the new light source (such as when it is at or near the targeted zone of interest) to an expected location of the light source to determine if there is an offset. The control may process many samples of new light sources to arrive at an optimal or enhanced offset. The control adjusts the reduced data set in response to determination of such an offset.

According to another aspect of the present invention, a vehicular imaging system includes a photosensor array having a plurality of photosensor elements and a control responsive to an output of the photosensor array. The photosensor array has a field of view forward of the vehicle that is generally in line with the vehicle's primary direction of forward travel. The photosensor array captures images of an area encompassed by the forward field of view. The control processes image data indicative of captured images, and is operable to selectively process the output of the photosensor array as an output from the photosensor array at two or more different resolutions. The control utilizes a single classifying parameter for identifying a particular object of interest in the forward field of view for all of the at least two resolutions.

Optionally, for example, the at least two different resolutions may comprise (a) an output of a higher resolution photosensor array, (b) an output of a medium resolution photosensor array, and (c) an output of a lower resolution photosensor array. The control may process the output of the photosensor array at different resolutions in response to one of (a) a location of a detected light source and (b) a distance between the subject vehicle and a detected light source.

These and other objects, advantages, purposes and features of the present invention will become apparent upon review of the following specification in conjunction with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a side elevation of a portion of a vehicle embodying the present invention;

FIG. 2 is a partial side elevation view and block diagram of a vehicle headlight dimming control system according to the present invention;

FIG. 3 is a schematic of an imaging array suitable for use with the control system of the present invention;

FIG. 4 is a schematic of a determination of an offset of a focus of expansion for the control system of the present invention; and

FIG. 5 is a schematic of a headlamp control system utilizing a cell phone camera for capturing images of a forward field of view.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

Referring now to the drawings and the illustrative embodiments depicted therein, a vehicle 10 includes an automatic vehicle headlamp control system or vehicle headlamp dimming control system 12, which includes an image sensor 14 which senses light from a scene forward of vehicle 10, an imaging processor or control circuit 13 which receives data from image sensor 14 and processes the image data, and a vehicle lighting control logic module 16 which exchanges data with control circuit 13 and controls the headlamps 18 (such as by changing or retaining the state of the headlamps, such as between a higher beam state and a lower beam state) of vehicle 10 for the purpose of modifying the beam illumination state of the headlamps of the vehicle (FIGS. 1 and 2). The headlamps are operable to selectively emit a light output via a high beam lighting element and a lower beam or low beam lighting element. Headlamp dimming control 12 is operable to determine whether light sources in the image captured by the image sensor are or may be indicative of headlamps of oncoming vehicles or taillights of leading vehicles and is operable to adjust the headlamps of the controlled vehicle between a high beam state and a lower beam state or low beam state in response to such a determination. Headlamp dimming control 12 may utilize the principles disclosed in U.S. Pat. Nos. 5,796,094; 6,097,023; 6,320,176; 6,559,435; 6,831,261; 6,396,397; 6,822,563; and/or 7,004,606, which are hereby incorporated herein by reference in their entireties. Headlamp control 12 is operable to distinguish the light sources captured in the image between light sources representing headlamps and/or taillights of other vehicles, as discussed below.

The imaging sensor for the headlamp control of the present invention may comprise any suitable sensor, and may utilize various imaging sensors or imaging array sensors or cameras or the like, such as a CMOS imaging array sensor, a CCD sensor or other sensors or the like, such as the types described in U.S. Pat. Nos. 5,550,677; 5,670,935; 5,760,962; 5,715,093; 5,877,897; 6,498,620; 5,796,094; 6,097,023; 6,320,176; 6,559,435; 6,831,261; 6,806,452; 6,396,397; 6,822,563; 6,946,978; 7,038,577; and/or 7,004,606; and/or U.S. patent application Ser. No. 11/315,675, filed Dec. 22, 2005 and published Aug. 17, 2006 as U.S. Patent Publication No. US-2006-0184297A1; and/or U.S. provisional applications, Ser. No. 60/845,381, filed Sep. 18, 2006; and Ser. No. 60/837,408, filed Aug. 11, 2006; and/or PCT Application No. PCT/US2007/075702, filed Aug. 10, 2007, and published Feb. 28, 2008 as PCT Publication No. WO 2008/024639, and/or PCT Application No. PCT/US2003/036177, filed Nov. 14, 2003, and published Jun. 3, 2004 as PCT Publication No. WO 2004/047421, which are all hereby incorporated herein by reference in their entireties. The control 12 may include a lens element or optic 20 between the image sensor and the forward scene to substantially focus the scene at an image plane of the image sensor. Optionally, the optic may comprise an asymmetric optic, which focuses a generally central portion of the scene onto the image sensor, while providing classical distortion on the periphery of the scene or field of view.

Such imaging sensors or cameras are pixelated imaging array sensors having a photosensing array 15 of a plurality of photon accumulating or photosensing light sensors or pixels 15 a (FIG. 3), which are arranged in a two-dimensional array of rows and columns on a semiconductor substrate. The camera established on the substrate or circuit board includes circuitry which is operable to individually access each photosensor pixel or element of the array of photosensor pixels and to provide an output or image data set associated with the individual signals to the control circuit 13, such as via an analog to digital converter (not shown). As camera 14 receives light from objects and/or light sources in the target scene, the control circuit 13 may then be operable to process the signal from at least some of the pixels to analyze the image data of the captured image, as discussed below.

As shown in FIG. 3, the control may process one or more sub-arrays 15 b of the photosensor array 15, where a particular sub-array may be representative of a zone or region of interest in the forward field of view of the camera. The control may process the sub-array of pixels while ignoring other pixels or processing other pixels at a reduced level (such as by utilizing aspects of the systems described in U.S. Pat. No. 7,038,577, which is hereby incorporated herein by reference in its entirety), and/or the control may process the sub-array of pixels in a particular manner (such as to determine if a light source is a vehicle lamp in the regions forward of the vehicle and near the host vehicle's path of travel, such as a headlamp of an oncoming vehicle in a lane adjacent to (such as to the left of) the host vehicle or other vehicle lamp forward and/or to the left or right of the host vehicle) while processing other sub-arrays or pixels in a different manner.

In order to take advantage of the environmental protection offered by the vehicle cabin, the frequently cleaned optically clear path offered by the vehicle windshield (which is cleaned or wiped by the windshield wipers when the wipers are activated), and the relatively high vantage point offered at the upper region or top of the windshield, the headlamp control system or at least the imaging device or camera is preferably mounted centrally at or near the upper inside surface of the front windshield of a vehicle and with a forward field of view through the region cleaned or wiped by the windshield wipers. The imaging device may be mounted at an interior rearview mirror assembly (such as at a mounting bracket or base of the mirror assembly) or at an accessory module or windshield electronics module disposed at or near the interior rearview mirror assembly and at or near the interior surface of the vehicle windshield.

Automatic image-based high beam control systems, in which an image of the scene forward of the vehicle is focused by an optical system, may have a horizontal field of view equal to, but not limited to, approximately +/−24 degrees about the imaging system centerline. This horizontal field of view may be larger than (and may be substantially larger than) the horizontal extent of the high beam pattern, but optionally the high beam pattern itself may be moved left and right up to approximately 15 degrees in either direction by an adaptive front lighting (AFL) system. The image may be focused or imaged onto a rectangular array image capture device, such as, but not limited to, onto a 640×480 CMOS color imager, which captures image data and provides sequential frames of data indicative of the light energy reflected or emitted by objects in the region subtended by each element of the array. The image capture rate may be at a rate in the range of about 5 to 120 times per second or more, with processing being performed on the data to determine the presence, location and characteristics of objects and/or light sources within the monitored scene and to determine characteristics of the monitored scene, such as general illumination level, and to utilize several defined regions or zones of the monitored scene for various purposes. For example, the region of the scene that generally corresponds to the region of influence of the vehicle high beam pattern may be used to determine the appropriate high beam state of the headlamps depending on whether or not other road users are detected within that region. Optionally, the regions to the left and right of the first region may be used to anticipate the upcoming entry of other road users into the first region in order to facilitate a rapid and appropriate response upon entry or just prior to entry of the first region. The upper central region of the monitored scene may be used to determine ambient lighting conditions such that a first threshold may be established below which low beam headlights are activated, and a second threshold may be established above which high beam activation may be inhibited, while the lower horizontal portion of the ambient lighting condition detection region may be used to detect urban lighting conditions or the like. Other processing of the captured image data may be implemented depending on the particular application of the image sensor and processor, while remaining within the spirit and scope of the present invention.

The control system of the present invention thus captures images or generates image data indicative of the scene occurring forwardly of the vehicle and processes the image data to determine whether or not a headlamp or taillight of another vehicle is present, whereby the headlamps of the controlled vehicle may be adjusted between their high and low beams accordingly. The image processor processes one or more zones of interest or regions of interest to determine whether the detected light source is a headlamp or taillight of another vehicle traveling on the same road as the controlled vehicle (since a light detected that is remote from the particular or appropriate region of interest is not likely another vehicle light or is not likely relevant to the decision as to whether or not the controlled vehicle's headlamps should be adjusted). The control system thus may utilize aspects of the image systems and/or headlamp control systems described above to process different zones or regions of interest, and may ignore other regions of the captured images or process other regions at a reduced level (such as by utilizing aspects of the systems described in U.S. Pat. Nos. 5,550,677; 5,877,897; and/or 7,038,577, which are hereby incorporated herein by reference in their entireties).

In order to ensure that the region of interest or regions of interest being processed are representative of the appropriate region relative to the controlled vehicle and direction of travel thereof, the control system of the present invention is operable to provide an automatic alignment or correction factor of the image data captured by the image sensor. Thus, the various regions of interest within the scene monitored by the sensor are optimally maintained regardless of vehicle and high beam control system module geometric manufacturing and assembly tolerances, and other sources of misalignment, such as vehicle pitch and yaw variations due to a wide range of possible vehicle loading conditions.

Typical vehicle body structures, windshields and assembly systems of vehicles may contribute to geometric tolerances associated with the surface to which the headlamp control system module is attached. It is not unusual to encounter a total stack up of tolerances which result in a potential vertical and horizontal misalignment of approximately +/−4 degrees from the theoretically ideal condition. This is a significant value and may result in errors in processing the appropriate region of interest and/or determining lane widths and object sizes and distances and the like.

It is known to provide a mechanical adjustment means to allow for the correction of such a misalignment at the installation of a headlamp control system to the vehicle. Such mechanical adjustments are, however, often undesirable since it is often expensive to apply manual labor to the alignment of components on each vehicle equipped with a headlamp control system at the vehicle assembly plant or facility. Such adjustments are additionally undesirable since the alignment procedure is then subject to operator error.

Also, such adjustment will only correct for misalignment of the imaging device and system at the time of manufacturing of the vehicle, and will not correct or account for or adapt the system for misalignment that may occur during use, such as due to a physical or mechanical misalignment of the imaging device or due to different load balancing of the vehicle or replacement of the camera or mirror assembly or assembly module or windshield and/or the like. For example, in normal use, a typical vehicle experiences many different loading conditions which cause it to adopt a wide range of pitch and roll attitudes, causing an automatic headlamp control system of the vehicle to view the forward scene from perspectives different from the ideal, or initially considered design conditions, and thereby potentially resulting in different headlight actuation decisions than contemplated by the original system specification.

Thus, it is beneficial for the headlamp control system to include a feature which automatically compensates for an initial misalignment condition and additionally is capable of correcting for temporary vehicle conditions and re-installation misalignments which may occur during the use of the vehicle. In order to achieve optimum performance of the headlamp control system, it is desirable to determine which of the array elements of the image capture device fall into each of the defined regions of interest. Since the regions are defined relative to the forward scene, it is desirable to determine a particular point or area within the forward scene and to relate that point or area to a particular array element or photosensor or group of photosensors of the image capture device.

The particular point in the forward scene may be defined as a particular distant point or area which lies on the forward extended vehicle centerline on the horizontal plane which passes generally through the center of the optical system associated with the image capture device. When driving on a substantially flat and substantially straight road, the distant point may be the point within the forward scene at which the headlights of an oncoming vehicle or the tail lamps of a slower leading vehicle are first detected. As the distance between the controlled vehicle and target vehicle decreases, the image of the target vehicle expands within the imaged scene, towards the left if traveling in a leftward lane, centrally if in the same lane, and towards the right if traveling in a rightward lane. Thus, the described distant point may be called the focus of expansion or FOE.

In order to determine the imaging array element or pixel which subtends the FOE in the as assembled and as loaded vehicle, it is necessary to identify the array element or pixel or pixels which first detects a new light source (which has the potential to be a vehicular light source or headlamp or taillight) within that region of the monitored scene which could potentially contain the FOE, and to continue to track the detected light source as it expands in the image as the distance between the detected source and the controlled vehicle decreases until it is confirmed that the source is a headlamp or taillight of another vehicle (such as by utilizing aspects of the systems described in U.S. provisional applications, Ser. No. 60/845,381, filed Sep. 18, 2006; and Ser. No. 60/837,408, filed Aug. 11, 2006, and/or PCT Application No. PCT/US2007/075702, filed Aug. 10, 2007, and published Feb. 28, 2008 as PCT Publication No. WO 2008/024639, which are hereby incorporated herein by reference in their entireties). The control system may monitor the controlled vehicle trajectory until it reaches the point in the road where the new light source would have been initially detected in order to confirm that the road traveled for the duration of the monitoring period was substantially flat and substantially straight. If it is determined that the point or light source was a light source of a leading or approaching vehicle and the controlled vehicle and approaching vehicle are traveling along a substantially flat and substantially straight road, the location of the initial distant point or FOE may be compared to an expected location (the location of the pixel corresponding to the preset or expected FOE) to determine if there is an offset or error in the imaging device's or system's calibration. The control system optionally, and preferably, collects or processes or analyzes many new light sources and picks the best samples and averages them to arrive at the best or optimal or enhanced FOE.

If an offset between the actual or detected FOE and the expected or preset FOE is detected, the image processor determines the degree of offset and adjusts or shifts the regions of interest parameters or coordinates or targeted pixels to accommodate for the offset, such that the processor processes the image data captured by the pixels representative of the appropriate zones or regions of interest forwardly of the controlled vehicle for detecting headlamps of approaching vehicles and taillights of leading vehicles. For example, if the detected FOE is ten pixels to the left and five pixels down from the expected FOE, the processor may readily adjust the parameters or coordinates of the regions of interest by that amount (or by a scaled value based on the detected offset). Thus, the headlamp control system may adjust the processing to adapt to shifts or changes in the FOE of the imaging device and thus may do so electronically and without physical or mechanical adjustment of the imaging device relative to the vehicle.

The headlamp control system of the present invention thus provides a low cost processing adjustment to maintain processing of the appropriate regions of interest when detecting light sources or objects forwardly of the vehicle and determining whether or not the detected light sources or objects are leading vehicles or approaching vehicles along the road on which the controlled vehicle is traveling. The control system thus calibrates or adapts the image data or image processing to accommodate for manufacturing tolerances and/or physical misalignment that may occur during the camera and/or mirror or accessory module manufacture or during the vehicle manufacture, and to accommodate for misalignment or shifts in the principal viewing axis of the camera or imaging device due to different load balancing of the vehicle or distortion in shape of the headlamp control system assembly due to heating and/or other situations where the vehicle encounters or experiences a change in pitch or tilt or yaw of the vehicle.

Optionally, the control system may be adjusted in response to a detection of lane markers, such as along a straight and/or flat road (or optionally along a curved road and optionally in conjunction with a steering angle of the vehicle). For example, and with reference to FIG. 4, the system may detect lane markers 22 along the lane in which the controlled vehicle is traveling and, if the lane markers are substantially straight, may determine an intersection 22 a of the lane markers. The control system may detect headlamps in front of the vehicle and may monitor the appearance point 24 of the detected headlamps. The system may monitor the appearance point and the intersection point as it travels toward and past the physical locations corresponding to the monitored points in the captured images, and if it is determined that the road or lane was substantially straight, the offset between the actual FOE and the expected FOE may be determined. The control system collects determined lane-marker-based FOE samples and rejects the error samples and averages them to arrive at a best or optimal or enhanced lane-marker-based FOE.

Optionally, the control system may utilize a weighted sum calculation of data representative of the intersection point and the (appearance point plus offset) to determine the actual FOE, depending on the particular application. For example, the adaptive FOE may be based on a detection of the appearance (initial detection) of lights and disappearance of lights (when the lights are out of the range of the sensor and are no longer detected) in front of the vehicle and a detection of the lane markers along the road in front of the vehicle, and may be calculated, for example, via the following equations:

AFOE_(ROW)=(a*[LaneMark Row+Offset]+b*[Headlight Appear Row+Offsetv]+c*[Taillight Disappear Row+Offsetw])/(a+b+c); and   (1)

AFOE_(COLUMN)=(d*[LaneMark Column+Offsetx]+e*[Headlight Appear Column+Offsety]+f*[Taillight Disappear Column+Offsetz])/(d+e+f);   (2)

where a, b, c, d, e and f are parameter weights that depend on the particular application. Other equations may be utilized to substantially estimate or calculate the present FOE of the imaging device, such as based on the detection of lane markers and/or light sources and/or the like in the forward field of view. Since this method uses either or both lane markers or vehicle appearance/disappearance, the system can work for environments without lane markers or for environments without initial other-vehicle presence.

Optionally, the control system may be adjusted in response to vehicle pitch information from a bus or accelerometer, and/or vehicle roll information from an accelerometer or bus information of the vehicle, and/or vehicle yaw information from an accelerometer or bus information of the vehicle. Optionally, the system may only monitor for new light sources when the vehicle is traveling in a substantially straight line (such as when the steering wheel angle is between, for example, about 0+/−10 degrees for a vehicle with steering ratio of about 17, or at or between any other suitable or selected threshold angle or angles depending on the particular application of the control system). Thus, adjustment and/or alignment of the image sensor may occur by tracking movement of light sources through the images when the vehicle is traveling substantially straight, so that the control may compare the tracked light sources to expected locations and paths through the captured images as the vehicle moves along the substantially straight path and may adjust the processing parameters of the image processor and imaging sensor accordingly.

Optionally, the control system may determine the actual FOE and offset along curved road sections in response to the lane marker detection and/or a steering angle input, whereby the system may monitor the detected appearing light source and monitor its initial or appearance location as the controlled vehicle approaches the initial location. By taking into account the steering angle of the vehicle as the vehicle travels toward the initial or appearance location of the light source, the control system may monitor or track the initial location to determine if the controlled vehicle approaches or arrives at or near that location. The control system may also determine if the detected light source was a headlamp of an approaching vehicle or taillight of a leading vehicle and, if so, may determine the offset and adjust or adapt the image processing accordingly.

The automatic adjustment or correction or adaptation of the image processor in response to a detected offset between a detected FOE and an expected FOE allows the control system of the present invention to utilize various cameras or imaging devices, such as aftermarket devices or cell phone cameras or the like. For example, an aftermarket camera may be installed in the vehicle with a generally forward field of view in the direction of travel of the vehicle, and the system may, as the vehicle is then driven, determine an offset or error in the expected FOE and readily compensate for such offset, without requiring any further manual input or physical adjustments.

Thus, it is envisioned that any imaging device (such as, for example, a cell phone camera) may be utilized for the imaging system or headlamp control system of the present invention. For example, and with reference to FIG. 5, a cell phone 26 may be docked at (such as at a phone connector mount or port 28 or the like at the vehicle instrument panel or dashboard 29 or mirror assembly or accessory module or console or the like) or in communication with an image processor that processes the images captured by the cell phone camera 26 a in a similar manner as described above, and determines the current FOE for the cell phone camera at its present orientation relative to the vehicle and determines the appropriate zones of interest or regions of interest for processing the image data to determine if detected light sources in the forward field of view are representative of a headlamp of an approaching vehicle or taillight of a leading vehicle. The cell phone may transmit a compressed video stream (such as, for example, at about 264 Hz) to a cell phone network, and/or may communicate video signals to an on-board or vehicle-based processor.

It is further envisioned that the adaptive FOE process of the present invention allows for the use of various aftermarket cameras and/or cell phone cameras for various imaging systems or applications, such as adaptive front lighting systems or lane departure warning systems or object detection systems or collision avoidance systems or the like, since the camera (such as a cell phone and camera) may be located at or in or mounted at the vehicle and the processing of the image data may be adapted to automatically accommodate for and correct for any misalignment or mis-mounting or mis-positioning of the camera. Optionally, aspects of the adaptive FOE system described above may be utilized for cameras (such as OEM cameras or aftermarket cameras or cell phone cameras or the like) having a rearward field of view so that the processing of the captured images is corrected or adapted and the images are processed accordingly, such as for a rearvision system or backup aid or the like, and/or may be utilized for cameras having a field of view directed inside the vehicle, such as for interior cabin monitoring systems or the like (such as utilizing aspects of the systems described in U.S. Pat. Nos. 5,760,962; 5,877,897; and/or 6,690,268, which are hereby incorporated herein by reference in their entireties). The image data from the cell phone camera (or other camera) may be communicated wirelessly (such as via a short-range radio frequency communication, such as via a BLUETOOTH® communication protocol or the like) or via a wired connection (such as via a docking port or USB port or the like at the vehicle) to a vehicle-based or onboard processor (such as processor 13 described above), or compressed video data or image output of the camera may be streamed to a cell phone network or the like.

Optionally, the control system may adjust the zones of interest or regions of interest in the captured images in response to an input representative of the vehicle trajectory, such as in response to a steering angle of the vehicle or steering wheel angle of the vehicle, such as by utilizing aspects of the systems described in U.S. patent application Ser. No. 11/315,675, filed Dec. 22, 2005, and published Aug. 17, 2006 as U.S. Publication No. US-2006-0184297; and/or U.S. provisional applications, Ser. No. 60/845,381, filed Sep. 18, 2006; and Ser. No. 60/837,408, filed Aug. 11, 2006, and/or PCT Application No. PCT/US2007/075702, filed Aug. 10, 2007, and published Feb. 28, 2008 as PCT Publication No. WO 2008/024639, which are all hereby incorporated herein by reference in their entireties. For example, when the controlled vehicle is traveling along a curved road, the zones of interest or regions of interest may be adjusted or offset (i.e., the image processor may process different groups of pixels corresponding to the different zones or regions of interest) so that the image processor processes the adjusted or offset zones or regions of interest to detect vehicles along a curved road. Such an adjustment of the zones of interest parameters or pixel locations may occur when the control system determines that the controlled vehicle is traveling along a curved road, such as in response to a steering angle input or lane detection input or the like. Optionally, the regions of interest may be reduced or shrunk (or optionally extended) at the corresponding side regions depending on the direction of the curve along which the vehicle is traveling.

Optionally, the control system of the present invention may adjust or adapt other processing parameters based on previous image processing. For example, the control system may process a large window or region of interest and may adapt the region of interest to a smaller region or window if a light source is detected. For example, if a detected light source is identified as headlamps of an approaching vehicle, the region of interest may be adapted from a large region or zone or window to a smaller or predicted region that is representative of where the headlamps of an approaching vehicle should be located relative to the controlled vehicle, such as down and to the left in the captured image (for a detected taillight, the adaptive region or window may be generally downward at or near a center line of the image as the controlled vehicle approaches a leading vehicle). If the adapted or smaller or inner or predicted region or window no longer detects a light source or object, the control system may resume processing of the larger region of interest or window to determine if other light sources or objects are present. Optionally, the exposure may be adjusted or adapted from one frame to the next, such as if an approaching headlamp is detected, for example, the exposure may be less for the subsequent frames as the headlamp moves closer to the controlled vehicle. For detected taillights, the change in exposure may be reduced or inhibited, since the taillights typically move generally with the controlled vehicle and do not approach the controlled vehicle as rapidly as to headlamps of approaching vehicles.

The driving side of the road varies by countries of the world (for example, in the United States, the vehicles are driven on the right side of the road). It is desirable to support left and right driving side of road to reduce engineering and manufacturing cost. Thus, it is beneficial for the head lamp control system to include a feature that automatically detects the driving side of the road. The control system thus may be operable to process the image data set to detect the new light source and identify the head light of the oncoming vehicle. The control system tracks the head light of the detected oncoming vehicle and stores the trajectory of headlight. The driving side of the vehicle (the side of the road along which the vehicle is traveling) is identified by analyzing a pre-determined amount of the trajectories of the oncoming vehicles. If the driving side is on the right side of the road, then the oncoming vehicles will pass the host vehicle on the left, and vice versa. Optionally, the control system may detect the driving side only by analyzing the location of appearance of new headlights in image data, since the appearance of new head light sources is biased toward one side of the captured image or image data according the driving side of the road when the vehicle is traveling along a substantially flat and straight road. Optionally, the control system may be responsive to a global positioning system input and may determine the driving side of the road on which the vehicle is traveling based on the geographical location of the vehicle and the driving rules and regulations of that geographical location or region.

The automatic high beam system or automatic headlamp control system may be optimized to adapt the vehicle for enhanced performance for the particular road (and side of the road) along which the vehicle is being driven. For example, the control system may modify many calibrations or parameters such as, but not limited to, different zones or sub-arrays of image data, weighting factors of different zones of image data, offset of the FOE, automotive light sources acceptance parameters, lane marker detection and tracking of objects and light sources and/or the like, in order to adapt the system for enhanced performance depending on which side of the road the host vehicle is driven on.

Optionally, the control system of the present invention may be operable to provide a low-cost processing of the image data via processing captured frames of image data at different resolution levels, such as at least two different resolutions or resolution levels. For example, the control system may process images at a higher resolution level (where the imaging device may be processed, for example, as a pixelated array of 640×480 pixels), at a medium or intermediate resolution (where the imaging device may be processed, for example, as a pixelated array of 320×240 pixels), and at a lower resolution (where the imaging device may be processed, for example, as a pixelated array of 160×120 pixels). Such a processing technique allows the processor to use the same classifier (such as the same window size or mask size, such as about a 2×3 pixel mask for detecting a distant taillight) for detecting and identifying taillights (or other light sources) at each distance or range, and thus may substantially reduce the memory requirements of the processor.

Typically, if a processor is to identify a taillight that is about 200 meters (or thereabouts) in front of the controlled vehicle, the processor may utilize a 2×3 pixel mask to determine if the detected light source is about the expected size of a taillight to assist in correctly identifying the taillights. However, if the light source is closer to the vehicle, such as at about 100 meters or thereabouts in front of the controlled vehicle, the processor would process the image data with a larger mask or window because the light source would be larger when it is closer to the controlled vehicle. When the light source is even closer, such as about 50 meters or less, to the controlled vehicle, an even larger window or mask is utilized to identify the detected light source. Thus, the control system requires sufficient memory capability to store the different window sizes for detecting the various light sources at various distances in front of the controlled vehicle. Such memory or data storage can be costly and thus may add to the cost of the headlamp control system (or other vision-based system).

However, by processing the captured images at different resolutions (such as a higher resolution, a medium resolution and a lower resolution), the system may generally equalize the sizes of the imaged objects or light sources for the various distances from the controlled vehicle, so that only a single sized mask or window need be utilized for identifying a particular light source, such as a taillight of a leading vehicle. This is because a taillight at about 200 meters may take up a window of about 2×3 pixels of a 640×480 higher resolution image, while a taillight at about 100 meters or thereabouts may take up a window of about 2×3 pixels of a 320×240 medium resolution image (which would be about a 4×6 pixel window if it were a higher resolution image), and a taillight at about 50 meters or less may take up a window of about 2×3 pixels of a 160×120 lower resolution image (which would be about a 8×12 pixel window if it were a higher resolution image).

Thus, by processing the different resolution images, the control system may utilize the same mask or window or classifier for identifying a detected light source. Although the intensity of the detected light sources would be different (such as, for example, the intensity of the light source of the medium resolution image may be eight times the intensity of the light source of the low resolution image and the intensity of the light source of the high resolution image may be 64 times the intensity of the light source of the low resolution image), this can be readily accounted for when detecting the light source and identifying the detected light source. Thus, when a light source is detected that may be a taillight of a leading vehicle, the processor may process the image data with a single classifier (such as for classifying the light source as a taillight) regardless of the distance to the detected light source from the controlled vehicle, and thus, the memory requirements of the system for multiple classifiers may be substantially reduced to reduce the cost of the control system.

Optionally, the control system may be operable to superimpose a code or flicker on the headlight beams to communicate a code or message to control systems of other vehicles or of roadside monitors or stations, such as by utilizing aspects of the systems described in U.S. Pat. No. 7,004,606, which is hereby incorporated herein by reference in its entirety. For example, the headlamps (or other vehicle lights) could be used to signal other drivers with “messages” which other vehicle's machine vision systems could decode, while typical drivers without such systems are unaware of the communication system. Such a code would be camouflaged to people viewing the headlamps or other lights, but visible to the machine vision systems of the other vehicles. Different flicker rates or different color combinations or spectral signature of the lights may communicate different codes, and the codes may be preset codes (such as, for example, a code that communicates to the driver of the other vehicle or vehicles that there is an accident ahead or the like), or may be entered by the driver of the controlled vehicle (such as via a voice input or manual input or the like).

Thus, with vehicles inside the line of sight distances, messages may be sent from the controlled vehicle to other vehicles via the code embedded in or superimposed on the output signal or illumination signal of the vehicle lights. For example, a code or message may be communicated from a controlled vehicle passing an accident to all similarly equipped oncoming traffic to alert the oncoming traffic of the accident. The code may comprise a color change (such as a subtle color change) in the color of the light emitted by the vehicle light source or a flicker (such as a high frequency flicker that is not readily noticeable or discernible to a human observer) or the like, and may be readily detected and identified or decoded by a similar control system of another vehicle. For example, the vehicle light source may comprise yellow and blue LEDs flickering at a predetermined rate and pattern and can thus encode information or data or messages which would look like a typical white HID or halogen headlight to human observers. Human perception of flickering in this color pair is worse than other colors which could also produce white, such as those nearer the red and green colors. This flicker rate of the yellow and blue LEDs thus may be lower than other color combinations (while still avoiding detection by the human observers), such as less than about 60 Hz.

For communicating messages or codes rearwardly, the taillights may also or otherwise be flickered or adjusted or coded to communicate a message or data. Red taillight location in color space may not be optimal for flickering different colors, but using flicker rates above about 60 Hz can provide the desired communication means while limiting or substantially avoiding human detection. Optionally, the light sources may flicker or may have superimposed thereon an illumination output in the infrared or near infrared range of the spectrum, where humans have poor sensitivity, and where the imaging devices may be highly sensitive.

Optionally, the control system of the present invention may be operable to determine if a pixel or pixels of the imaging array is either inoperable or “bad” or blocked, so that the control system may ignore the bad/blocked pixel output to avoid adversely affecting averages of pixel output intensities during the image processing. The bad pixel detection process or algorithm may be performed periodically when the system is operating. For example, a captured frame or image may be dedicated to bad pixel detection. If a bad pixel or pixels is/are detected, averaging of the output intensities of the pixels surrounding the bad pixel may be performed to accommodate or replace the bad or inoperable pixel.

It is further envisioned that the control system may be operable to determine if some or all of the pixels of the imaging array are blocked (such as via an object or dirt or debris at the vehicle windshield or the like) and to adapt the image processing accordingly or notify or alert the driver of the vehicle that such blockage has occurred. For example, a partial or total day blockage algorithm may be run during daytime lighting conditions, such as in response to a user input or on demand, while a partial or total night blockage algorithm may be run when the ambient condition is indicative of nighttime lighting conditions. When the total blockage algorithm is run, the number of pixels above an intensity threshold may be counted for a captured image or frame, and if, over a number of frames, the count of the bright pixels is continuously below a threshold, the control system may conclude that the imaging device substantially or totally blocked. When the partial blockage algorithm is run, the control system may perform region-based processing to take into account intensity variations in different regions of the pixelated imaging array. Based on intensity variations with neighboring or adjacent regions and the continuity of the variations over time, the control may determine that the imaging array is partially blocked. The control system may process the blocked pixel region in a night mode to reduce or substantially preclude the possibility of a false blockage detection.

If either partial or total blockage is detected or determined, the system may adapt the image processing to accommodate the blocked pixels, or the system may alert the driver of the vehicle that the pixels are blocked so that the driver or user may unblock the imaging device (such as via cleaning the windshield of the vehicle), or the system may actuate the vehicle windshield wipers to clear the windshield at the imaging device or the like, or the system may actuate a blower system (such as a defogger system or the like) of the vehicle to direct or force or blow air toward the detected blockage to clear the windshield or window or area in the forward field of view of the imaging device. Optionally, the control thus may detect that at least a portion of the imaging device or photosensor array is blocked and may switch to a low beam mode in response to the detection (so as to allow the system to confirm the existence of the blockage without the high beams on during this period of time), and the system may at least one of (a) alert the driver of the subject vehicle of the detected blockage so that he or she can clean the windshield or sensor or otherwise remove the blockage or actuate the wipers and/or related system of the vehicle to remove the blockage; (b) automatically actuate a wiper (such as the windshield wipers) of the vehicle to remove the blockage from the forward field of view of the imaging device; and (c) automatically actuate a blower system of the vehicle to remove or dissipate the blockage from the forward field of view. The system or control may also detect that the blockage has been removed from the forward field of view and may resume the normal functionality of the headlamp control system and/or the wiper system of the vehicle and/or the blower system of the vehicle.

Optionally, the imaging sensor (and/or aspects of the control system described above) may be suitable for use in connection with other vehicle imaging systems, such as, for example, a blind spot detection system, where a blind spot indicator may be operable to provide an indication to the driver of the host vehicle that an object or other vehicle has been detected in the lane or area adjacent to the side of the host vehicle. In such a blind spot detector/indicator system, the blind spot detection system may include an imaging sensor or sensors, or ultrasonic sensor or sensors, or sonar sensor or sensors or the like. For example, the blind spot detection system may utilize aspects of the blind spot detection and/or imaging systems described in U.S. Pat. Nos. 7,038,577; 6,882,287; 6,198,409; 5,929,786; and/or 5,786,772, and/or U.S. patent applications Ser. No. 11/315,675, filed Dec. 22, 2005, and published Aug. 17, 2006 as U.S. Publication No. US-2006-0184297; and/or Ser. No. 11/239,980, filed Sep. 30, 2005, and/or U.S. provisional applications Ser. No. 60/696,953, filed Jul. 6, 2005; Ser. No. 60/628,709, filed Nov. 17, 2004; Ser. No. 60/614,644, filed Sep. 30, 2004; and/or Ser. No. 60/618,686, filed Oct. 14, 2004, and/or PCT Application No. PCT/US2006/026148, filed Jul. 5, 2006, and published Jan. 11, 2007 as PCT Publication No. WO 2007/005942, and/or of the reverse or backup aid systems, such as the rearwardly directed vehicle vision systems described in U.S. Pat. Nos. 5,550,677; 5,760,962; 5,670,935; 6,201,642; 6,396,397; 6,498,620; 6,717,610; 6,757,109; and/or 7,005,974, and/or of the rain sensors described in U.S. Pat. Nos. 6,250,148 and 6,341,523, and/or of other imaging systems, such as the types described in U.S. Pat. Nos. 7,123,168; 6,353,392; and/or 6,313,454, with all of the above referenced U.S. patents, patent applications and provisional applications and PCT applications being commonly assigned and being hereby incorporated herein by reference in their entireties.

Optionally, the optical system may be held by features of a housing assembly of an interior rearview mirror assembly of an accessory module or the like. The housing assembly may utilize aspects of the modules or assemblies described in U.S. Pat. Nos. 7,004,593; 6,968,736; 6,877,888; 6,824,281; 6,690,268; 6,672,744; 6,593,565; 6,516,664; 6,501,387; 6,428,172; 6,386,742; 6,341,523; 6,329,925; and 6,326,613; 6,250,148; and 6,124,886, and/or U.S. patent application Ser. No. 10/538,724, filed Jun. 13, 2005 and published Mar. 9, 2006 as U.S. patent publication No. US2006-0050018, and/or Ser. No. 11/201,661, filed Aug. 11, 2005, now U.S. Pat. No. 7,480,149, and/or PCT Application No. PCT/US03/40611, filed Dec. 19, 2003; PCT Application No. PCT/US03/03012, filed Jan. 31, 2003, and/or PCT Application No. PCT/US04/15424, filed May 18, 2004, and/or Ireland pat. applications, Ser. No. S2004/0614, filed Sep. 15, 2004; Ser. No. S2004/0838, filed Dec. 14, 2004; and Ser. No. S2004/0840, filed Dec. 15, 2004, which are all hereby incorporated herein by reference in their entireties.

Optionally, the mirror assembly and/or accessory module or windshield electronics module may include one or more displays, such as for displaying the captured images or video images captured by the imaging sensor or sensors of the vehicle, such as the displays of the types disclosed in U.S. Pat. Nos. 7,004,593; 5,530,240 and/or 6,329,925, which are hereby incorporated herein by reference, and/or display-on-demand or transflective type displays, such as the types disclosed in U.S. Pat. Nos. 7,195,381; 6,690,268; 5,668,663 and/or 5,724,187, and/or in U.S. patent application Ser. No. 11/021,065, filed Dec. 23, 2004, now U.S. Pat. No. 7,255,451; Ser. No. 10/528,269, filed Mar. 17, 2005, now U.S. Pat. No. 7,274,501; Ser. No. 10/533,762, filed May 4, 2005, now U.S. Pat. No. 7,184,190; Ser. No. 10/538,724, filed Jun. 13, 2005 and published Mar. 9, 2006 as U.S. patent publication No. US2006-0050018; Ser. No. 11/226,628, filed Sep. 14, 2005 and published Mar. 23, 2006 as U.S. patent publication No. US 2006-0061008; Ser. No. 10/993,302, filed Nov. 19, 2004, now U.S. Pat. No. 7,338,177; and/or Ser. No. 11/284,543, filed Nov. 22, 2005, now U.S. Pat. No. 7,370,983, and/or PCT Application No. PCT/US03/29776, filed Sep. 9, 2003; and/or PCT Application No. PCT/US03/35381, filed Nov. 5, 2003, and/or PCT Application No. PCT/US03/40611, filed Dec. 19, 2003, and/or PCT Application No. PCT/US2006/018567, filed May 15, 2006, which are all hereby incorporated herein by reference, or may include or incorporate video displays or the like, such as the types described in PCT Application No. PCT/US03/40611, filed Dec. 19, 2003, and/or U.S. Pat. application Ser. No. 10/538,724, filed Jun. 13, 2005 and published Mar. 9, 2006 as U.S. patent publication No. US2006-0050018; and/or Ser. No. 11/284,543, filed Nov. 22, 2005, now U.S. Pat. No. 7,370,983, and/or U.S. provisional application Ser. No. 60/732,245, filed Nov. 1, 2005; Ser. No. 60/759,992, filed Jan. 18, 2006; and/or Ser. No. 60/836,219, filed Aug. 8, 2006, which are hereby incorporated herein by reference.

The imaging sensor may be incorporated at or in an accessory module or windshield electronics module (such as described above), or may be incorporated at or in an interior rearview mirror assembly of the vehicle, while remaining within the spirit and scope of the present invention. Optionally, the mirror assembly and/or module may support one or more other accessories or features, such as one or more electrical or electronic devices or accessories. For example, illumination sources or lights, such as map reading lights or one or more other lights or illumination sources, such as illumination sources of the types disclosed in U.S. Pat. Nos. 7,195,381; 6,690,268; 5,938,321; 5,813,745; 5,820,245; 5,673,994; 5,649,756; 5,178,448; 5,671,996; 4,646,210; 4,733,336; 4,807,096; 6,042,253; 6,971,775; and/or 5,669,698, and/or U.S. patent application Ser. No. 10/933,842, filed Sep. 3, 2004, now U.S. Pat. No. 7,249,860, which are hereby incorporated herein by reference, may be included in the mirror assembly or module. The illumination sources and/or the circuit board may be connected to one or more buttons or inputs for activating and deactivating the illumination sources. Optionally, the mirror assembly or module may also or otherwise include other accessories, such as microphones, such as analog microphones or digital microphones or the like, such as microphones of the types disclosed in U.S. Pat. Nos. 6,243,003; 6,278,377; and/or 6,420,975, and/or in PCT Application No. PCT/US03/308877, filed Oct. 1, 2003. Optionally, the mirror assembly may also or otherwise include other accessories, such as a telematics system, speakers, antennas, including global positioning system (GPS) or cellular phone antennas, such as disclosed in U.S. Pat. No. 5,971,552, a communication module, such as disclosed in U.S. Pat. No. 5,798,688, a voice recorder, transmitters and/or receivers, such as for a garage door opener or a vehicle door unlocking system or the like (such as a remote keyless entry system), a digital network, such as described in U.S. Pat. No. 5,798,575, a memory mirror system, such as disclosed in U.S. Pat. No. 5,796,176, a hands-free phone attachment, a video device for internal cabin surveillance (such as for sleep detection or driver drowsiness detection or the like) and/or video telephone function, such as disclosed in U.S. Pat. Nos. 5,760,962 and/or 5,877,897, a remote keyless entry receiver, a seat occupancy detector, a remote starter control, a yaw sensor, a clock, a carbon monoxide detector, status displays, such as displays that display a status of a door of the vehicle, a transmission selection (4wd/2wd or traction control (TCS) or the like), an antilock braking system, a road condition (that may warn the driver of icy road conditions) and/or the like, a trip computer, a tire pressure monitoring system (TPMS) receiver (such as described in U.S. Pat. Nos. 6,124,647; 6,294,989; 6,445,287; 6,472,979; and/or 6,731,205; and/or U.S. patent application Ser. No. 11/232,324, filed Sep. 21, 2005, now U.S. Pat. No. 7,423,522, and/or an ONSTAR® system and/or any other accessory or circuitry or the like (with all of the above-referenced patents and PCT and U.S. patent applications being commonly assigned, and with the disclosures of the referenced patents and patent applications being hereby incorporated herein by reference in their entireties).

Optionally, the mirror assembly or module may include one or more user inputs for controlling or activating/deactivating one or more electrical accessories or devices of or associated with the mirror assembly or module or vehicle. The mirror assembly or module may comprise any type of switches or buttons, such as touch or proximity sensing switches, such as touch or proximity switches of the types described in PCT Application No. PCT/US03/40611, filed Dec. 19, 2003; and/or U.S. Pat. Nos. 6,001,486; 6,310,611; 6,320,282; and 6,627,918; and/or U.S. patent application Ser. No. 09/817,874, filed Mar. 26, 2001, now U.S. Pat. No. 7,224,324; Ser. No. 10/956,749, filed Oct. 1, 2004, now U.S. Pat. No. 7,446,924; Ser. No. 10/933,842, filed Sep. 3, 2004, now U.S. Pat. No. 7,249,860; Ser. No. 11/021,065, filed Dec. 23, 2004, now U.S. Pat. No. 7,255,451; and/or Ser. No. 11/140,396, filed May 27, 2005, now U.S. Pat. No. 7,360,932, which are hereby incorporated herein by reference, or the inputs may comprise other types of buttons or switches, such as those described in U.S. patent application Ser. No. 11/029,695, filed Jan. 5, 2005, now U.S. Pat. No. 7,253,723; and/or Ser. No. 11/451,639, filed Jun. 13, 2006, now U.S. Pat. No. 7,527,403, which are hereby incorporated herein by reference, or such as fabric-made position detectors, such as those described in U.S. Pat. Nos. 6,504,531; 6,501,465; 6,492,980; 6,452,479; 6,437,258; and 6,369,804, which are hereby incorporated herein by reference. Other types of switches or buttons or inputs or sensors may be incorporated to provide the desired function, without affecting the scope of the present invention.

Optionally, any such user inputs or buttons may comprise user inputs for a garage door opening system, such as a vehicle based garage door opening system of the types described in U.S. Pat. Nos. 6,396,408; 6,362,771; and 5,798,688, and/or U.S. patent application Ser. No. 10/770,736, filed Feb. 3, 2004, now U.S. Pat. No. 7,023,322; and/or U.S. provisional application Ser. No. 60/502,806, filed Sep. 12, 2003; and Ser. No. 60/444,726, filed Feb. 4, 2003, which are hereby incorporated herein by reference. The user inputs may also or otherwise function to activate and deactivate a display or function or accessory, and/or may activate/deactivate and/or commence a calibration of a compass system of the mirror assembly and/or vehicle. The compass system may include compass sensors and circuitry within the mirror assembly or within a compass pod or module at or near or associated with the mirror assembly. Optionally, the user inputs may also or otherwise comprise user inputs for a telematics system of the vehicle, such as, for example, an ONSTAR® system as found in General Motors vehicles and/or such as described in U.S. Pat. Nos. 4,862,594; 4,937,945; 5,131,154; 5,255,442; 5,632,092; 5,798,688; 5,971,552; 5,924,212; 6,243,003; 6,278,377; 6,420,975; 6,946,978; 6,477,464; 6,678,614; and/or 7,004,593, and/or U.S. patent application Ser. No. 10/645,762, filed Aug. 20, 2003, now U.S. Pat. No. 7,167,796; and Ser. No. 10/964,512, filed Oct. 13, 2004, now U.S. Pat. No. 7,308,341; and/or PCT Application No. PCT/US03/40611, filed Dec. 19, 2003, and/or PCT Application No. PCT/US03/308877, filed Oct. 1, 2003, which are all hereby incorporated herein by reference.

Optionally, the accessory module may utilize aspects of other accessory modules or windshield electronics modules or the like, such as the types described in U.S. patent application Ser. No. 10/958,087, filed Oct. 4, 2004, now U.S. Pat. No. 7,188,963; and/or Ser. No. 11/201,661, filed Aug. 11, 2005, now U.S. Pat. No. 7,480,149, and/or U.S. Pat. Nos. 7,004,593; 6,824,281; 6,690,268; 6,250,148; 6,341,523; 6,593,565; 6,428,172; 6,501,387; 6,329,925; and 6,326,613, and/or in PCT Application No. PCT/US03/40611, filed Dec. 19, 2003, and/or Ireland pat. applications, Ser. No. S2004/0614, filed Sep. 15, 2004; Ser. No. S2004/0838, filed Dec. 14, 2004; and Ser. No. S2004/0840, filed Dec. 15, 2004, which are all hereby incorporated herein by reference.

The reflective element of the rearview mirror assembly of the vehicle may comprise an electro-optic or electrochromic reflective element or cell, such as an electrochromic mirror assembly and electrochromic reflective element utilizing principles disclosed in commonly assigned U.S. Pat. Nos. 7,195,381; 6,690,268; 5,140,455; 5,151,816; 6,178,034; 6,154,306; 6,002,544; 5,567,360; 5,525,264; 5,610,756; 5,406,414; 5,253,109; 5,076,673; 5,073,012; 5,117,346; 5,724,187; 5,668,663; 5,910,854; 5,142,407; and/or 4,712,879, and/or U.S. Pat. application Ser. No. 11/021,065, filed Dec. 23, 2004, now U.S. Pat. No. 7,255,451; Ser. No. 11/226,628, filed Sep. 14, 2005 and published Mar. 23, 2006 as U.S. patent publication No. US 2006-0061008, and/or PCT Patent Application No. PCT/US2006/018567, filed May 15, 2006, which are all hereby incorporated herein by reference, and/or as disclosed in the following publications: N. R. Lynam, “Electrochromic Automotive Day/Night Mirrors”, SAE Technical Paper Series 870636 (1987); N. R. Lynam, “Smart Windows for Automobiles”, SAE Technical Paper Series 900419 (1990); N. R. Lynam and A. Agrawal, “Automotive Applications of Chromogenic Materials”, Large Area Chromogenics: Materials and Devices for Transmittance Control, C. M. Lampert and C. G. Granquist, EDS., Optical Engineering Press, Wash. (1990), which are hereby incorporated by reference herein. The thicknesses and materials of the coatings on the substrates of the electrochromic reflective element, such as on the third surface of the reflective element assembly, may be selected to provide a desired color or tint to the mirror reflective element, such as a blue colored reflector, such as is known in the art and/or such as described in U.S. Pat. Nos. 5,910,854 and 6,420,036, and in PCT Application No. PCT/US03/29776, filed Sep. 9, 2003, which are all hereby incorporated herein by reference.

Optionally, use of an elemental semiconductor mirror, such as a silicon metal mirror, such as disclosed in U.S. Pat. Nos. 6,286,965; 6,196,688; 5,535,056; 5,751,489; and 6,065,840, and/or in U.S. patent application Ser. No. 10/993,302, filed Nov. 19, 2004, now U.S. Pat. No. 7,338,177, which are all hereby incorporated herein by reference, can be advantageous because such elemental semiconductor mirrors (such as can be formed by depositing a thin film of silicon) can be greater than 50 percent reflecting in the photopic (SAE J964a measured), while being also substantially transmitting of light (up to 20 percent or even more). Such silicon mirrors also have the advantage of being able to be deposited onto a flat glass substrate and to be bent into a curved (such as a convex or aspheric) curvature, which is also advantageous since many passenger-side exterior rearview mirrors are bent or curved.

Optionally, the reflective element may include a perimeter metallic band, such as the types described in PCT Application No. PCT/US03/29776, filed Sep. 19, 2003; and/or PCT Application No. PCT/US03/35381, filed Nov. 5, 2003; and/or U.S. patent application Ser. No. 11/021,065, filed Dec. 23, 2004, now U.S. Pat. No. 7,255,451; and/or Ser. No. 11/226,628, filed Sep. 14, 2005 and published Mar. 23, 2006 as U.S. patent publication No. US 2006-0061008, which are hereby incorporated herein by reference. Optionally, the reflective element may include indicia formed at and viewable at the reflective element, such as by utilizing aspects of the reflective elements described in PCT Patent Application No. PCT/US2006/018567, filed May 15, 2006, which are hereby incorporated herein by reference.

Optionally, the reflective element of the mirror assembly may comprise a single substrate with a reflective coating at its rear surface, without affecting the scope of the present invention. The mirror assembly thus may comprise a prismatic mirror assembly or other mirror having a single substrate reflective element, such as a mirror assembly utilizing aspects described in U.S. Pat. Nos. 6,318,870; 6,598,980; 5,327,288; 4,948,242; 4,826,289; 4,436,371; and 4,435,042; and PCT Application No. PCT/US04/015424, filed May 18, 2004; and U.S. patent application Ser. No. 10/933,842, filed Sep. 3, 2004, now U.S. Pat. No. 7,249,860, which are hereby incorporated herein by reference. Optionally, the reflective element may comprise a conventional prismatic or flat reflective element or prism, or may comprise a prismatic or flat reflective element of the types described in PCT Application No. PCT/US03/29776, filed Sep. 19, 2003; U.S. patent application Ser. No. 10/709,434, filed May 5, 2004, now U.S. Pat. No. 7,420,756; Ser. No. 10/933,842, filed Sep. 3, 2004, now U.S. Pat. No. 7,249,860; Ser. No. 11/021,065, filed Dec. 23, 2004, now U.S. Pat. No. 7,255,451; and/or Ser. No. 10/993,302, filed Nov. 19, 2004, now U.S. Pat. No. 7,338,177, and/or PCT Application No. PCT/US2004/015424, filed May 18, 2004, which are all hereby incorporated herein by reference, without affecting the scope of the present invention.

Changes and modifications to the specifically described embodiments may be carried out without departing from the principles of the present invention, which is intended to be limited by the scope of the appended claims as interpreted according to the principles of patent law including the doctrine of equivalents. 

1. A vehicular imaging system comprising: an imaging device comprising a single imaging sensor; said imaging sensor comprising a plurality of photosensor elements; said imaging device mounted at a vehicle and having a field of view exterior of said vehicle; wherein said field of view exterior of said vehicle encompasses a scene forward of said vehicle; wherein said imaging device is disposed in said vehicle behind the windshield of said vehicle and views through a portion of the windshield; wherein said portion of the windshield comprises a portion cleaned by a windshield wiper of said vehicle; wherein said imaging device comprises a CMOS imaging device; said single imaging sensor of said imaging device capturing image data within said field of view; a control receiving said image data; said control also receiving, via a communication bus of said vehicle, at least one of (i) vehicle pitch information, (ii) vehicle yaw information and (iii) vehicle steering information; said control detecting converging road features along the road said vehicle is travelling; said control determining a point of intersection where said converging road features would converge; said control automatically correcting for misalignment of said imaging device mounted at said vehicle; wherein said automatic correction for misalignment of said imaging device mounted at said vehicle comprises, at least in part, said determination by said control of where said converging road features would converge; and wherein at least one of (i) said control is operable to process a reduced image data set more than other image data and said control detects an object present exteriorly of said vehicle within a target zone.
 2. The vehicular imaging system of claim 1, wherein said control automatically compensates for an initial misalignment.
 3. The vehicular imaging system of claim 1, wherein said control corrects for at least one of (i) a temporary vehicle condition and (ii) a reinstallation misalignment.
 4. The vehicular imaging system of claim 1, wherein said control is operable to detect that at least a portion of said photosensor array is blocked.
 5. The vehicular imaging system of claim 1, wherein said control is operable to automatically correct for misalignment of up to at least approximately +/−4 degrees from an aligned condition.
 6. The vehicular imaging system of claim 1, wherein said control compares a location of an object detected exteriorly of said vehicle to an expected location of the object and, wherein, based at least in part on said comparison, said control corrects for misalignment of said imaging device.
 7. The vehicular imaging system of claim 1, wherein at least one of (i) said photosensor array comprises a cell phone imager and (ii) said converging road features comprise converging lane markers.
 8. The vehicular imaging system of claim 1, wherein at least one of (i) said control is operable to selectively process data from said photosensor array with at least two different resolutions and (ii) said control is operable to encode signals into the light output of a light of said vehicle to allow an imaging system of another vehicle to detect said encoded signal.
 9. The vehicular imaging system of claim 1, wherein said control is operable to detect and ameliorate a bad photosensor element of said plurality of photosensor elements.
 10. The vehicular imaging system of claim 1, wherein at least one of (i) said control utilizes image data captured while said vehicle travels in a curve, (ii) said control determines the driving side of the road said vehicle is travelling on, (iii) said control monitors the trajectory of said vehicle and (iv) said control monitors the trajectory of said vehicle in order to confirm the road said vehicle is travelling on is at least one of substantially flat and substantially straight.
 11. A vehicular imaging system comprising: an imaging device comprising a single imaging sensor; said imaging sensor comprising a plurality of photosensor elements; said imaging device mounted at a vehicle and having a field of view exterior of said vehicle; wherein said field of view exterior of said vehicle encompasses a scene forward of said vehicle; wherein said imaging device is disposed in said vehicle behind the windshield of said vehicle and views through a portion of the windshield; wherein said portion of the windshield comprises a portion cleaned by a windshield wiper of said vehicle; wherein said imaging device comprises a CMOS imaging device; said single imaging sensor of said imaging device capturing image data within said field of view; a control receiving said image data; said control also receiving, via a communication bus of said vehicle, at least one of (i) vehicle pitch information, (ii) vehicle yaw information and (iii) vehicle steering information; said control detecting converging road features along the road said vehicle is travelling; said control determining a point of intersection where said converging road features would converge; said control automatically correcting for misalignment of said imaging device mounted at said vehicle; wherein said automatic correction for misalignment of said imaging device mounted at said vehicle comprises, at least in part, said determination by said control of where said converging road features would converge; wherein said control corrects for at least one of (i) a temporary vehicle condition and (ii) a reinstallation misalignment; and wherein at least one of (i) said control utilizes image data captured while said vehicle travels in a curve, (ii) said control determines the driving side of the road said vehicle is travelling on, (iii) said control monitors the trajectory of said vehicle and (iv) said control monitors the trajectory of said vehicle in order to confirm the road said vehicle is travelling on is at least one of substantially flat and substantially straight.
 12. The vehicular imaging system of claim 11, wherein at least one of (i) said control is operable to process a reduced image data set more than other image data and (ii) said control detects an object present exteriorly of said vehicle within a target zone.
 13. The vehicular imaging system of claim 11, wherein said control compares a location of an object detected exteriorly of said vehicle to an expected location of the object and, wherein, based at least in part on said comparison, said control corrects for misalignment of said imaging device.
 14. The vehicular imaging system of claim 11, wherein at least one of (i) said photosensor array comprises a cell phone imager, (ii) said converging road features comprise converging lane markers and (iii) said control is operable to automatically correct for misalignment of up to at least approximately +/−4 degrees from an aligned condition.
 15. A vehicular imaging system comprising: an imaging device comprising a single imaging sensor; said imaging sensor comprising a plurality of photosensor elements; said imaging device mounted at a vehicle and having a field of view exterior of said vehicle; wherein said field of view exterior of said vehicle encompasses a scene forward of said vehicle; wherein said imaging device is disposed in said vehicle behind the windshield of said vehicle and views through a portion of the windshield; wherein said portion of the windshield comprises a portion cleaned by a windshield wiper of said vehicle; wherein said imaging device comprises a CMOS imaging device; said single imaging sensor of said imaging device capturing image data within said field of view; a control receiving said image data; said control also receiving, via a communication bus of said vehicle, at least one of (i) vehicle pitch information, (ii) vehicle yaw information and (iii) vehicle steering information; said control detecting converging road features along the road said vehicle is travelling; said control determining a point of intersection where said converging road features would converge; said control automatically correcting for misalignment of said imaging device mounted at said vehicle; wherein said automatic correction for misalignment of said imaging device mounted at said vehicle comprises, at least in part, said determination by said control of where said converging road features would converge; and wherein at least one of (a) said photosensor array comprises a cell phone imager, (b) said converging road features comprise converging lane markers, (c) said control corrects for a temporary vehicle condition, (d) said control corrects for a reinstallation misalignment and (e) said control compares a location of an object detected exteriorly of said vehicle to an expected location of the object and, wherein, based at least in part on said comparison, said control corrects for misalignment of said imaging device.
 16. The vehicular imaging system of claim 15, wherein at least one of (i) said control is operable to process a reduced image data set more than other image data and (ii) said control detects an object present exteriorly of said vehicle within a target zone.
 17. The vehicular imaging system of claim 15, wherein said control is operable to automatically correct for misalignment of at least approximately +/−4 degrees from an aligned condition.
 18. The vehicular imaging system of claim 15, wherein said control is operable to detect and ameliorate a bad photosensor element of said plurality of photosensor elements.
 19. The vehicular imaging system of claim 15, wherein at least one of (i) said control utilizes image data captured while said vehicle travels in a curve, (ii) said control determines the driving side of the road said vehicle is travelling on, (iii) said control monitors the trajectory of said vehicle and (iv) said control monitors the trajectory of said vehicle in order to confirm the road said vehicle is travelling on is at least one of substantially flat and substantially straight.
 20. The vehicular imaging system of claim 15, wherein at least one of (i) said control is operable to selectively process data from said photosensor array with at least two different resolutions and (ii) said control is operable to encode signals into the light output of a light of said vehicle to allow an imaging system of another vehicle to detect said encoded signal. 